package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 客户实体类
 */
@TableName("t_client")
@ApiModel(value = "客户实体类", description = "封装客户相关属性信息")
public class ClientBean {
    /**
     * 客户id
     */
    @TableId(value = "pk_clientId", type = IdType.AUTO)
    @ApiModelProperty("客户编号")
    private Integer clientId;
    /**
     * 客户名称
     */
    @TableField("c_cName")
    @ApiModelProperty("客户名称")
    private String cName;
    /**
     * 客户办公地址
     */
    @TableField("c_cAddr")
    @ApiModelProperty("客户地址")
    private String cAddr;
    /**
     * 客户邮箱
     */
    @TableField("c_email")
    @ApiModelProperty("客户邮箱")
    private String email;
    /**
     * 客户经营范围
     */
    @TableField("c_cRange")
    @ApiModelProperty("客户经营范围")
    private String cRange;
    /**
     * 客户负责人
     */
    @TableField("c_cLeader")
    @ApiModelProperty("客户负责人")
    private String cLeader;
    /**
     * 客户负责人电话
     */
    @TableField("c_cLeaderPhone")
    @ApiModelProperty("客户负责人电话")
    private String cLeaderPhone;

    public ClientBean() {
    }

    public ClientBean(String cName, String cAddr, String email, String cRange, String cLeader, String cLeaderPhone) {
        this.cName = cName;
        this.cAddr = cAddr;
        this.email = email;
        this.cRange = cRange;
        this.cLeader = cLeader;
        this.cLeaderPhone = cLeaderPhone;
    }

    public Integer getClientId() {
        return clientId;
    }

    public void setClientId(Integer clientId) {
        this.clientId = clientId;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public String getcAddr() {
        return cAddr;
    }

    public void setcAddr(String cAddr) {
        this.cAddr = cAddr;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getcRange() {
        return cRange;
    }

    public void setcRange(String cRange) {
        this.cRange = cRange;
    }

    public String getcLeader() {
        return cLeader;
    }

    public void setcLeader(String cLeader) {
        this.cLeader = cLeader;
    }

    public String getcLeaderPhone() {
        return cLeaderPhone;
    }

    public void setcLeaderPhone(String cLeaderPhone) {
        this.cLeaderPhone = cLeaderPhone;
    }

    @Override
    public String toString() {
        return "ClientBean{" +
                "clientId=" + clientId +
                ", cName='" + cName + '\'' +
                ", cAddr='" + cAddr + '\'' +
                ", email='" + email + '\'' +
                ", cRange='" + cRange + '\'' +
                ", cLeader='" + cLeader + '\'' +
                ", cLeaderPhone='" + cLeaderPhone + '\'' +
                '}' + "\n";
    }
}
